ProfilePress\Core\Membership\Services\OrderService S

Total Complexity 44
Dependencies 17
Dependents 10
Total lines 379
Lines of code 232
Logical lines of code 134
Comment lines 43
Methods 14
Properties 0

Methods 14

Method Rating Maintainability Complexity Lines of code
checkout_order_calculation()
B
35 16 83
customer_has_trialled()
A
47 7 36
record_subscription_renewal_order()
S
43 5 46
is_free_checkout()
S
76 2 4
get_customer_orders_url()
S
71 2 5
delete_order()
S
67 2 8
admin_view_order_url()
S
67 2 7
init()
S
69 2 7
get_order_notes()
S
63 1 12
generate_order_key()
S
74 1 4
add_order_note()
S
67 1 8
delete_order_note_by_id()
S
79 1 3
delete_all_order_notes()
S
73 1 6
frontend_view_order_url()
S
78 1 3